package cn.uil.demo;

import org.springframework.stereotype.Service;


@Service
public class HeavyService {
    @AsyncPostConstruct
    public void init() throws InterruptedException {
        Thread.sleep(5000); // 模拟耗时操作
        System.out.println("HeavyService initialized!");
    }
}
